]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
location: Replace description w/ privacy note
authorZeeshan Ali (Khattak) <zeeshanak@gnome.org>
Thu, 3 Mar 2016 18:57:02 +0000 (18:57 +0000)
committerZeeshan Ali (Khattak) <zeeshanak@gnome.org>
Thu, 10 Mar 2016 14:51:32 +0000 (14:51 +0000)
https://bugzilla.gnome.org/show_bug.cgi?id=762480

js/ui/status/location.js

index 00c1f42fad08abaaa1d9bb8e0c6df8bf1825f943..16976362a8da67e0a5cd66786eae6ef8990d29bf 100644 (file)
@@ -417,12 +417,12 @@ const GeolocationDialog = new Lang.Class({
         this._title = new St.Label({ style_class: 'geolocation-dialog-title headline' });
         messageBox.add_actor(this._title);
 
-        this._desc = new St.Label();
-        messageBox.add_actor(this._desc);
-
         this._reason = new St.Label();
         messageBox.add_actor(this._reason);
 
+        this._privacyNote = new St.Label();
+        messageBox.add_actor(this._privacyNote);
+
         let button = this.addButton({ label: _("Deny Access"),
                                       action: Lang.bind(this, this._onDenyClicked),
                                       key: Clutter.KEY_Escape });
@@ -434,8 +434,7 @@ const GeolocationDialog = new Lang.Class({
         /* Translators: %s is an application name */
         this._title.text = _("Give %s access to your location?").format(name);
 
-        /* Translators: %s is an application name */
-        this._desc.text = _("%s is requesting access to your location.").format(name);
+        this._privacyNote.text = _("Location access can be changed at any time from the privacy settings.");
 
         if (reason)
             this._reason.text = reason;